
#!/usr/bin/env node
const fs =require('fs'),
      fileName = process.argv[2],
      log = console.log;
let fid = fs.openSync(fileName,'r'),
    buf;
size = fs.statSync(fileName).size,
     buf = new buffer(size);

log(buf.toString('utf8'));

fs.closeSync(fid);


